<?php
/*
 * 读取系统配置  
 */
function getSettingsByKey ( $k ){
    global  $db;
    $row = $db->get("select * from settings where k = '{$k}'");
    if ($row){
        return $row['v'];
    }
    return false;
}
